import * as axios from "axios";
import {__API__} from "../constants";

export function GET_TALK({
                             me_id, you_id
                         }) {
    return axios.get(`${__API__}/talk`, {
        params: {
            me_id,
            you_id
        }
    })
}

export function GET_TALK_LIST(user_id) {
    return axios.get(`${__API__}/talk/talking-list`, {
        params: {
            user_id: user_id
        }
    })
}